import request from '@/utils/request'

// 获取运输任务分页数据
export const getWaybillPages = (data) => {
  return request({
    method: 'post',
    url: '/transport-task-manager/page',
    data
  })
}
// 运输任务统计
export function getTransportTaskCount () {
  return request({
    method: 'GET',
    url: '/transport-task-manager/count'
  })
}

// 获取运输任务详情
export function getTransportTaskDetail (id) {
  return request({
    method: 'GET',
    url: `/transport-task-manager/${id}`
  })
}
